{% extends "kyonh/layout.html" %}
{% load ytenx %}
{% block kyonh_cjeng_mux_active %}active{% endblock %}
{% block title %}{{cjeng}} - 聲母 - 廣韻{% endblock %}
{% block keywords %}{{cjeng}}, 聲母, 廣韻 {% endblock %}
{% block content %}
<div class="page-header">
  <h1>{{cjeng}} <small>廣韻聲母{{cjeng.lyih}}</small></h1>
</div>
<div class="row">
  <div class="span3">
    <h2>擬音</h2>
    <table class="table table-bordered">
    {% for mjeng, ngix in cjeng.ngix.items %}
      {% if ngix %}
        <tr>
          <td>{{mjeng}}</td>
          <td><ipa>{{ngix}}</ipa></td>
        </tr>
      {% endif %}
    {% endfor %}
    </table>
  </div>
  <div class="span3">
    <h2>拼音</h2>
    <table class="table table-bordered">
    {% for mjeng, preng in cjeng.preng.items %}
      {% if preng %}
        <tr>
          <td>{{mjeng}}</td>
          <td><span class="horizontal-ltr">{{preng}}</span></td>
        </tr>
      {% endif %}
    {% endfor %}
    </table>
  </div>
</div>
<div class="span10">
  <div class="row">
    <h2>小韻</h2>
    {% for sieux in cjeng.sieuxyonh_set.all %}
      <a href="{% url 'kyonh-sieux_yonh_page' sieux.ziox %}">{{sieux}}</a>
    {% endfor %}
  </div>
  <div class="row">
    <h2>反切上字</h2>
    {% for dciangx in cjeng.dciangxdzih_set.all %}
      <a href="{% url 'kyonh-pyanx_dciangx_page' dciangx.dzih %}">{{dciangx}}</a>
    {% endfor %}
  </div>
</div>
{% endblock %}
